package com.module.base.bean;

import com.chad.library.adapter.base.entity.MultiItemEntity;

/**
 * @desc 布局
 */
public class LayoutWrapper<T> implements MultiItemEntity  {

    public int type;
    public T data;

    public LayoutWrapper(int type, T data) {
        this.type = type;
        this.data = data;
    }

    public LayoutWrapper() {
    }

    @Override
    public int getItemType() {
        return type;
    }
}
